package com.lingjtx.auth.service;


import com.lingjtx.auth.po.LoginConfirmPo;
import com.lingjtx.auth.po.UpdatePswPo;
import com.lingjtx.common.security.model.LoginPo;
import com.lingjtx.common.core.token.UserVo;

import java.util.Map;

public interface UserService extends UserHandleService<Object> {

    String sendSmsCode(String identifier, Integer smsType);

    UserVo loginByPassword(LoginPo model);

    // 其他第三方登录
    UserVo loginByOther(LoginPo model);

    String loginByUrl(LoginPo model);

    UserVo refreshToken(String token, LoginPo model);

    boolean confirmLogin(LoginConfirmPo model);

    Map<String, Integer> scanStatus(LoginConfirmPo model);

    UserVo bizlogin(LoginConfirmPo model);

    // 绑定邮箱
    boolean boundEmail(UpdatePswPo model);

    String getBaseWeixinOauthUrl();
}
